home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 209
/
209.d81
/
t.cb dnr
< prev
next >
Wrap
Text File
|
2022-08-26
|
1KB
|
60 lines
u
C64 CODEBREAKER
by David Holz
How to play:
This is a clone of the popular (?)
board (?) game Mastermind. There is a
hidden 4-color code which you must
deduce in a limited number of tries.
To load up & start the game, enter the
following:
The machine will take a second or two
to generate the secret code, and
present you with 4 slots to make a
guess. Use the cursor left/right keys
to select a slot, cursor up/down to
select one of the 6 available colors,
and Return to finish your guess.
The black number is the number of
slots that you guessed correctly. The
white number is the number of colors
in your guess that are in the secret
code, but you've placed in the wrong
slot. You've got 10 tries to crack the
code.
Note that the hidden code will never
contain any duplicated colors. That
was an annoying requirement to
implement, so you'd better appreciate
it. ;)
The game will loop until you either
win or take aggressive measures
against your computer. Type RUN to
play again.
For only 415 bytes (including 2-byte
file header), this game contains a
decent but bloated random code
generator, a score calculator, a BASIC
loader, and challenging intellectual
game play. There are 353 bytes of
actual code. I'm pretty happy with
the way this thing turned out, as I
haven't done any 6510 coding in a
LOOONG time! :)
White Flame (aka David Holz)
http://fly.to/theflame